package cn.lyd.base.service;

import cn.lyd.base.dto.PhoneRegisterDto;
import cn.lyd.base.dto.SmsCodeDto;

import java.io.IOException;

public interface IverifyCodeService  {
    //获取图形验证码
    String graph(String imageCodeKey) throws IOException;

    //发送短信验证码
    void smsCode(SmsCodeDto dto);

    //手机号注册
    void phoneRegister(PhoneRegisterDto dto);
}
